From entry production system in glossary Artificial Intelligence: humans at the heart of algorithms
A production system consists of three elements:
- a database or working memory of facts, which can include temporary states such as "Goal(open door)";
- a set of rules of the form IF <condition> THEN <action>, where conditions are logical expressions about the working memory, and actions may include changes to the working memory such as "ADD Goal(find key)"; and
- an interpretter, which matches the conditoons against the working memory and then executes the action for a matching rule.
